﻿using System;
using System.Text.Json.Serialization;

namespace ORS.OrderRobot.ServiceContracts.Dtos
{
    /// <summary>
    /// 商品搜索结果
    /// </summary>
	public class ProductSearchDto
    {
        public List<HitInfo> Hits { get; set; } = new List<HitInfo>();
    }
    public class HitInfo
    {
        [JsonPropertyName("product_id")]
        public string ProductId { get; set; }

        [JsonPropertyName("product_name")]
        public string ProductName { get; set; }
    }
}

